﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PeachLite.Admin
{
    public partial class ClassEdit : DataPage
    {
        protected override string Sql
        {
            get
            {
                long t;
                string cid = Request.QueryString["cid"] == null ? "" : Request.QueryString["cid"].Trim();

                if (cid == "" || !long.TryParse(cid, out t))
                {
                    return "";
                }
                else
                {

                    return "sp_Admin_Page_GetClass " + t.ToString();
                }
            }
        }
    }
}